﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMaster.Master" AutoEventWireup="true"
    CodeBehind="UserManager.aspx.cs" Inherits="EDMS.Users.UserManager" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="MainContent">
    <h1 class="DemoTitle">
        人员管理-编辑
    </h1>
    <div id="DemoArea">
        <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
                <td height="25" width="30%" align="right">
                   <asp:Label ID="lblid" runat="server" Text="用户编号："></asp:Label>
                </td>
                <td height="25" width="200px" align="center">
                    <dx:ASPxTextBox ID="txtuserid" runat="server" Width="200px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    </dx:ASPxTextBox>
                </td>
                <td height="25" width="*" align="left">
                    
                </td>
            </tr>
            <tr>
                <td height="25" width="30%" align="right">
                    用户名：
                </td>
                <td height="25" width="200px" align="center">
                    <dx:ASPxTextBox ID="txtusername" runat="server" Width="200px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    </dx:ASPxTextBox>
                </td>
                <td height="25" width="*" align="left">
                    <asp:RequiredFieldValidator ID="reusername" runat="server" ControlToValidate="txtusername"
                        ErrorMessage="请输入用户名！"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td height="25" width="30%" align="right">
                    登录名：
                </td>
                <td height="25" width="200px" align="center">
                    <dx:ASPxTextBox ID="txtloginname" runat="server" Width="200px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    </dx:ASPxTextBox>
                </td>
                <td height="25" width="*" align="left">
                    <asp:RequiredFieldValidator ID="reloginname" runat="server" ControlToValidate="txtloginname"
                        ErrorMessage="请输入登录名！"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td height="25" width="30%" align="right">
                    <asp:Label ID="lblpsw" runat="server" Text="登录密码："></asp:Label>
                </td>
                <td height="25" width="200px" align="center">
                    <dx:ASPxTextBox ID="txtloginpsw" runat="server" Width="200px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                        CssPostfix="Office2010Blue"
                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    </dx:ASPxTextBox>
                </td>
                <td height="25" width="*" align="left">
                    <asp:RequiredFieldValidator ID="repsw" runat="server" ControlToValidate="txtloginpsw"
                        ErrorMessage="请输入登录密码"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td height="25" width="30%" align="right">
                    <asp:Label ID="lblphone" runat="server" Text="联系方式："></asp:Label>
                </td>
                <td height="25" width="200px" align="center">
                    <dx:ASPxTextBox ID="txtphone" runat="server" Width="200px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                    </dx:ASPxTextBox>
                </td>
                <td height="25" width="*" align="left">
                </td>
            </tr>
           <%-- <tr>
                <td height="25" width="30%" align="right">
                    是否为管理员 ：
                </td>
                <td height="25" width="*" align="center">
                    <dx:ASPxRadioButton ID="yes" runat="server" Text="是">
                    </dx:ASPxRadioButton>
                    <dx:ASPxRadioButton ID="no" runat="server" Text="否">
                    </dx:ASPxRadioButton>
                    &nbsp;
                </td>
            </tr>--%>
              <tr>
                    <td align="right" style="width: 250px;">
                        <dx:ASPxButton ID="btnManage" runat="server" Text="添加" Width="90px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                            CssPostfix="Office2010Blue" 
                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                            onclick="btnManage_Click">
                        </dx:ASPxButton>
                    </td>
                    <td align="left">
                        <dx:ASPxButton ID="btnBack" runat="server" Text="返回" Width="90px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                            CssPostfix="Office2010Blue" 
                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                            onclick="btnBack_Click">
                        </dx:ASPxButton>
                    </td>
                    <td style="width: 200px;">
                    </td>
                    <td style="width: 200px;">
                    </td>
                </tr>
        </table>
    </div>
</asp:Content>
